To substitute a number you change the variable to the number it is equal to.
For example: substitute "n" for 6
8+n=?
8+6=14